<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>订单管理</title>

		<link href="${pageContext.request.contextPath}/front/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="${pageContext.request.contextPath}/front/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="${pageContext.request.contextPath}/front/css/personal.css" rel="stylesheet" type="text/css">
		<link href="${pageContext.request.contextPath}/front/css/orstyle.css" rel="stylesheet" type="text/css">

		<script src="${pageContext.request.contextPath}/front/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="${pageContext.request.contextPath}/front/AmazeUI-2.4.2/assets/js/amazeui.js"></script>

	</head>

	<body>
		<!--头 -->
		<header>
			<article>
				<div class="mt-logo">
					<!--顶部导航条 -->
					<div class="am-container header">
						<ul class="message-l">
							<div class="topMessage">
								<div class="menu-hd">
									<a href="login.jsp" target="_top" class="h">亲，请登录</a>
									<a href="register.jsp" target="_top">免费注册</a>
								</div>
							</div>
						</ul>
						<ul class="message-r">
							<div class="topMessage home">
								<div class="menu-hd"><a href="index.jsp" target="_top" class="h">商城首页</a></div>
							</div>
							<div class="topMessage my-shangcheng">
								<div class="menu-hd MyShangcheng"><a href="userInfo.html" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a></div>
							</div>
							<div class="topMessage mini-cart">
								<div class="menu-hd"><a id="mc-menu-hd" href="shopcart.jsp" target="_top"><i class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span><strong id="J_MiniCartNum" class="h">0</strong></a></div>
							</div>
							<div class="topMessage favorite">
								<div class="menu-hd"><a href="collection.html" target="_top"><i class="am-icon-heart am-icon-fw"></i><span>收藏夹</span></a></div>
						</ul>
						</div>

						<!--悬浮搜索框-->

						<div class="nav white">
							<div class="logoBig">
								<li><a href="index.jsp"><img src="${pageContext.request.contextPath}/front/images/logobig.png" /></a></li>
							</div>

							<div class="search-bar pr">
								<a name="index_none_header_sysc" href="#"></a>
								<form>
									<input id="searchInput" name="index_none_header_sysc" type="text" placeholder="搜索" autocomplete="off">
									<input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
								</form>
							</div>
						</div>

						<div class="clear"></div>
					</div>
				</div>
			</article>
		</header>
            <div class="nav-table">
					   <div class="long-title"><span class="all-goods">全部分类</span></div>
					   <div class="nav-cont">
							<ul>
								<li class="index"><a href="index.jsp">首页</a></li>
                                <li class="qc"><a href="javascript:void(0)">闪购</a></li>
                                <li class="qc"><a href="javascript:void(0)">限时抢</a></li>
                                <li class="qc"><a href="javascript:void(0)">团购</a></li>
                                <li class="qc last"><a href="javascript:void(0)">大包装</a></li>
							</ul>
						    <div class="nav-extra">
						    	<i class="am-icon-user-secret am-icon-md nav-user"></i><b></b>我的福利
						    	<i class="am-icon-angle-right" style="padding-left: 10px;"></i>
						    </div>
						</div>
			</div>
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-order">

						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">订单管理</strong> / <small>Order</small></div>
						</div>
						<hr/>

						<div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

							<ul class="am-avg-sm-5 am-tabs-nav am-nav am-nav-tabs">
								<li class="am-active"><a href="#tab1">所有订单</a></li>
								<li><a href="#tab2">待付款</a></li>
								<li><a href="#tab3">待发货</a></li>
								<li><a href="#tab4">待收货</a></li>
								<li><a href="#tab5">待评价</a></li>
							</ul>

							<div class="am-tabs-bd">
								<div class="am-tab-panel am-fade am-in am-active" id="tab1">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div id="shop007" class="order-list">
											
											<!--交易成功-->
											<div class="order-status5">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>
													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">交易成功</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																	<p class="order-info"><a href="logistics.html">查看物流</a></p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	删除订单</div>
															</li>
														</div>
													</div>
												</div>
											</div>
											
											
											
											<!--交易失败-->
											<div class="order-status0">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	
																</div>
															</li>
														</ul>
													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">交易关闭</p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	删除订单</div>
															</li>
														</div>
													</div>
												</div>
											</div>											
											
											<!--待发货-->
											<div class="order-status2">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>
													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">买家已付款</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	提醒发货</div>
															</li>
														</div>
													</div>
												</div>
											</div>

											<!--不同状态订单-->
											<div class="order-status3">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">卖家已发货</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																	<p class="order-info"><a href="logistics.html">查看物流</a></p>
																	<p class="order-info"><a href="javascript:void(0)">延长收货</a></p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	确认收货</div>
															</li>
														</div>
													</div>
												</div>

											</div>

										</div>
                                        <div id="show007"></div>
										<div id="show108"></div>
										<div id="show109"></div>
									</div>
									</div>
									</div>

								</div>
								<div class="am-tab-panel am-fade" id="tab2">

									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div id="shop008" class="order-list">
											<div class="order-status1">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">

																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">

																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">

																</div>
															</li>
														</ul>
													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">等待买家付款</p>
																	<p class="order-info"><a href="javascript:void(0)">取消订单</a></p>

																</div>
															</li>
															<li class="td td-change">
																<a href="pay.html">
																<div class="am-btn am-btn-danger anniu">
																	一键支付</div></a>
															</li>
														</div>
													</div>

												</div>
											</div>
										</div>
                                    <div id="show008"></div>
									</div>
								</div>
								<div class="am-tab-panel am-fade" id="tab3">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div id="shop009" class="order-list">
											<div class="order-status2">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款</a>
																</div>
															</li>
														</ul>
													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">买家已付款</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	提醒发货</div>
															</li>
														</div>
													</div>
												</div>
											</div>
										</div>
                                        <div id="show009"></div>
									</div>
								</div>
								<div class="am-tab-panel am-fade" id="tab4">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											<div class="order-status3">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">卖家已发货</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																	<p class="order-info"><a href="logistics.html">查看物流</a></p>
																	<p class="order-info"><a href="javascript:void(0)">延长收货</a></p>
																</div>
															</li>
															<li class="td td-change">
																<div class="am-btn am-btn-danger anniu">
																	确认收货</div>
															</li>
														</div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>

								<div class="am-tab-panel am-fade" id="tab5">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											<!--不同状态的订单	-->
										<div class="order-status4">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>

												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">交易成功</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																	<p class="order-info"><a href="logistics.html">查看物流</a></p>
																</div>
															</li>
															<li class="td td-change">
																<a href="commentlist.html">
																	<div class="am-btn am-btn-danger anniu">
																		评价商品</div>
																</a>
															</li>
														</div>
													</div>
												</div>
											</div>
											
											
											<div class="order-status4">
												<div class="order-title">
													<div class="dd-num">订单编号：<a href="javascript:;">1601430</a></div>
													<span>成交时间：2015-12-20</span>
													<!--    <em>店铺：小桔灯</em>-->
												</div>
												<div class="order-content">
													<div class="order-left">
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>

														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/62988.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>礼盒袜子女秋冬 纯棉袜加厚 韩国可爱 </p>
																			<p class="info-little">颜色分类：李清照
																				<br/>尺码：均码</p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>
														
														<ul class="item-list">
															<li class="td td-item">
																<div class="item-pic">
																	<a href="#" class="J_MakePoint">
																		<img src="${pageContext.request.contextPath}/front/images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg">
																	</a>
																</div>
																<div class="item-info">
																	<div class="item-basic-info">
																		<a href="javascript:void(0)">
																			<p>美康粉黛醉美唇膏 持久保湿滋润防水不掉色</p>
																			<p class="info-little">颜色：12#川南玛瑙
																				<br/>包装：裸装 </p>
																		</a>
																	</div>
																</div>
															</li>
															<li class="td td-price">
																<div class="item-price">
																	333.00
																</div>
															</li>
															<li class="td td-number">
																<div class="item-number">
																	<span>×</span>2
																</div>
															</li>
															<li class="td td-operation">
																<div class="item-operation">
																	<a href="refund.html">退款/退货</a>
																</div>
															</li>
														</ul>
														

													</div>
													<div class="order-right">
														<li class="td td-amount">
															<div class="item-amount">
																合计：676.00
																<p>含运费：<span>10.00</span></p>
															</div>
														</li>
														<div class="move-right">
															<li class="td td-status">
																<div class="item-status">
																	<p class="Mystatus">交易成功</p>
																	<p class="order-info"><a href="orderinfo.html">订单详情</a></p>
																	<p class="order-info"><a href="logistics.html">查看物流</a></p>
																</div>
															</li>
															<li class="td td-change">
																<a href="commentlist.html">
																	<div class="am-btn am-btn-danger anniu">
																		评价商品</div>
																</a>
															</li>
														</div>
													</div>
												</div>
											</div>


										</div>

									</div>

								</div>
							</div>

						</div>
					</div>
				</div>
				<!--底部-->
				<div class="footer">
					<div class="footer-hd">
						<p>
							<a href="http://www.itcast.cn">传智播客</a>
							<b>|</b>
							<a href="javascript:void(0)">商城首页</a>
							<b>|</b>
							<a href="javascript:void(0)">支付宝</a>
							<b>|</b>
							<a href="javascript:void(0)">物流</a>
						</p>
					</div>
					<div class="footer-bd">
						<p>
							<a href="http://www.itcast.cn">关于黑马</a>
							<a href="javascript:void(0)">合作伙伴</a>
							<a href="javascript:void(0)">联系我们</a>
							<a href="javascript:void(0)">网站地图</a>
							<em>© 2015-2025 Hengwang.com 版权所有</em>
						</p>
					</div>

				</div>
			</div>
			<aside class="menu">
				<ul>
					<li class="person">
						<a href="index.jsp">个人中心</a>
					</li>
					<li class="person">
						<a href="javascript:void(0)">个人资料</a>
						<ul>
							<li> <a href="information.html">个人信息</a></li>
							<li> <a href="safety.html">安全设置</a></li>
							<li> <a href="address.html">收货地址</a></li>
						</ul>
					</li>
					<li class="person">
						<a href="javascript:void(0)">我的交易</a>
						<ul>
							<li class="active"><a href="order.jsp">订单管理</a></li>
							<li> <a href="change.html">退款售后</a></li>
						</ul>
					</li>
					<li class="person">
						<a href="javascript:void(0)">我的资产</a>
						<ul>
							<li> <a href="coupon.html">优惠券 </a></li>
							<li> <a href="bonus.html">红包</a></li>
							<li> <a href="bill.jsp">账单明细</a></li>
						</ul>
					</li>

					<li class="person">
						<a href="javascript:void(0)">我的小窝</a>
						<ul>
							<li> <a href="collection.html">收藏</a></li>
							<li> <a href="foot.html">足迹</a></li>
							<li> <a href="comment.html">评价</a></li>
							<li> <a href="news.html">消息</a></li>
						</ul>
					</li>

				</ul>

			</aside>
		</div>

	</body>
<script>
$(function () {
	//发送ajax请求
	$.ajax({
		async : false,
		type : "POST",
		url :"${pageContext.request.contextPath}/OrderSkuController/show",
		dataType : "json",
		data:{unm:1},
		success: function (data) {
			$("#shop007").empty();
			show(data);
			/*Pages总页数
    * Total总条数
    * PageNum当前页
    * PageSize每页条数
    */
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist\">\n" +
				/*	 "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                     "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show007").append(page);

			/*判断是否为首页*/
			if(1 == data.pageNum){
				$("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/*插入页数*/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage(" + i + ")\">" + i + "</a></li>")
				}
			}

			/*判断是否为尾页*/
			if(data.pageNum == data.pages){
				$("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		},
		error : function() {
			alert("异步请求失败~");
		}
	})
	//发送ajax请求
	$.ajax({
		async : false,
		type : "POST",
		url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
		data:{spc:"0",unm:1},
		dataType : "json",
		success: function (data) {
			show1(data);
			/*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist1\">\n" +
					/* "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                     "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show108").append(page);

			/!*判断是否为首页*!/
			if(1 == data.pageNum){
				$("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/!*插入页数*!/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist1").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist1").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage1(" + i + ")\">" + i + "</a></li>")
				}
			}

			/!*判断是否为尾页*!/
			if(data.pageNum == data.pages){
				$("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		},
		error : function() {
			alert("异步请求失败~");
		}
	})
	//发送ajax请求
	$.ajax({
		async : false,
		type : "POST",
		url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
		data:{spc:"1",unm:1},
		dataType : "json",
		success: function (data) {
			show2(data);
			/*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist2\">\n" +
					/* "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                     "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                     "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show109").append(page);

			/!*判断是否为首页*!/
			if(1 == data.pageNum){
				$("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/!*插入页数*!/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist2").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist2").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage2(" + i + ")\">" + i + "</a></li>")
				}
			}

			/!*判断是否为尾页*!/
			if(data.pageNum == data.pages){
				$("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		},
		error : function() {
			alert("异步请求失败~");
		}
	})
})
    function show(data) {
		var content="";
		$.each(data.list,function (index,value) {
			content += "<div class=\"order-status5\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-title\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dd-num\">订单编号：<a href=\"javascript:;\">" + value.id + "</a></div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t<span>成交时间：2015-12-20</span>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t<!--    <em>店铺：小桔灯</em>-->\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-content\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-left\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"item-list\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-item\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-pic\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"J_MakePoint\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"" + value.picPath + "\" class=\"itempic J_ItemImg\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div></li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-price\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t" + value.price + "\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-number\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-number\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>×</span>" + value.num + "\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-operation\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-operation\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul><div class=\"order-right\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-amount\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-amount\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t合计：" + value.totalFee + "\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>含运费：<span>10.00</span></p>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"move-right\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-status\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-status\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"Mystatus\">交易成功</p>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"orderinfo.html\">订单详情</a></p>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"logistics.html\">查看物流</a></p>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-change\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a onclick=\"rmv('" + value.id + "')\"><div class=\"am-btn am-btn-danger anniu\">\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t删除订单</div></a>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
					"\t\t\t\t\t\t\t\t\t\t\t</div>"
		})
		$("#show007").html(content);
	}
	function rmv(id) {
        var b=confirm("是否确定删除编号为:"+id);
        if(b){
            $.ajax({
                async : true,
                url :"${pageContext.request.contextPath}/OrderSkuController/rmv",
                type : "POST",
                data:{id:id},
                dataType : "json",
                success: function (data) {
                    $.ajax({
                        async : true,
                        url :"${pageContext.request.contextPath}/OrderSkuController/show",
                        type : "POST",
                        data:{unm:1},
                        dataType : "json",
                        success: function (data) {
                             show(data);
                            /*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
                            var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist\">\n" +
                                /*	 "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                                     "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                                     "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                                     "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                                     "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                                     "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                                     "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
                                "             </ul>";
                            $("#show007").append(page);

                            /*判断是否为首页*/
                            if(1 == data.pageNum){
                                $("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
                            }else {
                                $("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
                            }

                            /*插入页数*/
                            for (i = 1; i <= data.pages; i++) {
                                if (i == data.pageNo) {
                                    $("#pagelist").append(
                                        "<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
                                } else {
                                    $("#pagelist").append(
                                        "<li><a href=\"javascript:void(0)\"  onclick=\"topage(" + i + ")\">" + i + "</a></li>")
                                }
                            }

                            /*判断是否为尾页*/
                            if(data.pageNum == data.pages){
                                $("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
                            }else {
                                $("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
                            }
                        },
                        error : function() {
                            alert("异步请求失败~");
                        }
                    })
                },
                error : function() {
                    alert("异步请求失败~");
                }
            })
        }
/*		$.ajax({
			async : true,
			type : "POST",
			data:{id:id},
			url :"${pageContext.request.contextPath}/OrderSkuController/rmv",
			dataType : "json",
			success: function (data) {
				show(data)
				//发送ajax请求
				$.ajax({
					async : true,
					type : "POST",
					url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
					data:{spc:"0",unm:1},
					dataType : "json",
					success: function (data) {
						show1(data)
					},
					error : function() {
						alert("异步请求失败~");
					}
				})
				//发送ajax请求
				$.ajax({
					async : true,
					type : "POST",
					url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
					data:{spc:"1",unm:1},
					dataType : "json",
					success: function (data) {
						show2(data)
					},
					error : function() {
						alert("异步请求失败~");
					}
				})
			},
			error : function() {
				alert("异步请求失败~");
			}
		})*/
	}
function show1(data) {
	var content="";
	$.each(data.list,function (index,value) {
		content+="<div class=\"order-status5\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-title\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dd-num\">订单编号：<a href=\"javascript:;\">"+value.id+"</a></div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<span>成交时间：2015-12-20</span>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<!--    <em>店铺：小桔灯</em>-->\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-content\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-left\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"item-list\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-item\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-pic\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"J_MakePoint\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\""+value.picPath+"\" class=\"itempic J_ItemImg\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div></li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-price\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+value.price+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-number\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-number\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>×</span>"+value.num+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-operation\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-operation\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul><div class=\"order-right\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-amount\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-amount\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t合计："+value.totalFee+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>含运费：<span>10.00</span></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"move-right\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-status\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-status\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"Mystatus\">交易成功</p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"orderinfo.html\">订单详情</a></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"logistics.html\">查看物流</a></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-change\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a onclick=\"rem('"+value.id+"')\"><div class=\"am-btn am-btn-danger anniu\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t提醒发货</div></a>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t</div>"
	})
	$("#show108").html(content);
}
function rem(id) {
	$.ajax({
		async : true,
		type : "POST",
		url :"${pageContext.request.contextPath}/OrderSkuController/rem",
		data:{n:id,spc:"false"},
		success: function (data) {
			alert(data);
			//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
                data:{spc:"0",unm:1},
				dataType : "json",
				success: function (data) {
					show1(data);
                    /*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
                    var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist1\">\n" +
                        /* "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                         "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
                        "             </ul>";
                    $("#show108").append(page);

                    /!*判断是否为首页*!/
                    if(1 == data.pageNum){
                        $("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
                    }else {
                        $("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
                    }

                    /!*插入页数*!/
                    for (i = 1; i <= data.pages; i++) {
                        if (i == data.pageNo) {
                            $("#pagelist1").append(
                                "<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
                        } else {
                            $("#pagelist1").append(
                                "<li><a href=\"javascript:void(0)\"  onclick=\"topage1(" + i + ")\">" + i + "</a></li>")
                        }
                    }

                    /!*判断是否为尾页*!/
                    if(data.pageNum == data.pages){
                        $("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
                    }else {
                        $("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
                    }
				},
				error : function(data) {
					alert("异步请求失败~");
				}
			})
			/*//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
				data:{spc:"0",unm:1},
				dataType : "json",
				success: function (data) {
					show1(data)
				},
				error : function() {
					alert("异步请求失败~");
				}
			})
			//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
				data:{spc:"1",unm:1},
				dataType : "json",
				success: function (data) {
					show2(data)
				},
				error : function() {
					alert("异步请求失败~");
				}
			})*/
		},
		error : function() {
			alert("异步请求失败~");
		}
	})
}
function show2(data) {
	var content="";
	$.each(data.list,function (index,value) {
		content+="<div class=\"order-status5\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-title\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"dd-num\">订单编号：<a href=\"javascript:;\">"+value.id+"</a></div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<span>成交时间：2015-12-20</span>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<!--    <em>店铺：小桔灯</em>-->\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-content\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"order-left\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"item-list\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-item\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-pic\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\" class=\"J_MakePoint\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\""+value.picPath+"\" class=\"itempic J_ItemImg\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div></li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-price\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-price\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+value.price+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-number\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-number\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>×</span>"+value.num+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-operation\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-operation\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul><div class=\"order-right\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-amount\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-amount\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t合计："+value.totalFee+"\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p>含运费：<span>10.00</span></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"move-right\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-status\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"item-status\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"Mystatus\">交易成功</p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"orderinfo.html\">订单详情</a></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"order-info\"><a href=\"logistics.html\">查看物流</a></p>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"td td-change\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a onclick=\"res('"+value.id+"')\"><div class=\"am-btn am-btn-danger anniu\">\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t确认收货</div></a>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t\t</div>\n" +
				"\t\t\t\t\t\t\t\t\t\t\t</div>"
	})
	$("#show109").html(content);
}
function res(id) {
	$.ajax({
		async : true,
		type : "POST",
		url :"${pageContext.request.contextPath}/OrderSkuController/rem",
		data:{n:id,spc:"true"},
		success: function (data) {
			alert(data);
			/*//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/show",
				dataType : "json",
				success: function (data) {
					show(data)
				},
				error : function() {
					alert("异步请求失败~");
				}
			})
			//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
				data:{spc:"0"},
				dataType : "json",
				success: function (data) {
					show1(data)
				},
				error : function() {
					alert("异步请求失败~");
				}
			})*/
			//发送ajax请求
			$.ajax({
				async : true,
				type : "POST",
				url :"${pageContext.request.contextPath}/OrderSkuController/sorr",
                data:{spc:"1",unm:1},
				dataType : "json",
				success: function (data) {
					show2(data);
                    /*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
                    var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist2\">\n" +
                        /* "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                         "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
                        "             </ul>";
                    $("#show109").append(page);

                    /!*判断是否为首页*!/
                    if(1 == data.pageNum){
                        $("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
                    }else {
                        $("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
                    }

                    /!*插入页数*!/
                    for (i = 1; i <= data.pages; i++) {
                        if (i == data.pageNo) {
                            $("#pagelist2").append(
                                "<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
                        } else {
                            $("#pagelist2").append(
                                "<li><a href=\"javascript:void(0)\"  onclick=\"topage2(" + i + ")\">" + i + "</a></li>")
                        }
                    }

                    /!*判断是否为尾页*!/
                    if(data.pageNum == data.pages){
                        $("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
                    }else {
                        $("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
                    }
				},
				error : function() {
					alert("异步请求失败~");
				}
			})
		},
		error : function() {
			alert("异步请求失败~");
		}
	})
}
function topage(unm) {
	$.ajax({
		async:true,
		url:"${pageContext.request.contextPath }/OrderSkuController/show",
		type:"GET",
		dataType:"json",
		data:{unm:unm
		},
		success:function(data){
			show(data);
			/*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist\">\n" +
					/*	 "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                         "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show007").append(page);

			/*判断是否为首页*/
			if(1 == data.pageNum){
				$("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/*插入页数*/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage(" + i + ")\">" + i + "</a></li>")
				}
			}

			/*判断是否为尾页*/
			if(data.pageNum == data.pages){
				$("#pagelist").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist").append("<li><a href=\"javascript:void(0)\" onclick=\"topage(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		}
	})
}
function topage1(unm) {
	$.ajax({
		async:true,
		url:"${pageContext.request.contextPath }/OrderSkuController/sorr",
		type:"GET",
		dataType:"json",
		data:{spc:"0",unm:unm
		},
		success:function(data){
			show1(data);
			/*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist1\">\n" +
					/*	 "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                         "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show108").append(page);

			/*判断是否为首页*/
			if(1 == data.pageNum){
				$("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/*插入页数*/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist1").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist1").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage1(" + i + ")\">" + i + "</a></li>")
				}
			}

			/*判断是否为尾页*/
			if(data.pageNum == data.pages){
				$("#pagelist1").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist1").append("<li><a href=\"javascript:void(0)\" onclick=\"topage1(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		}
	})
}
function topage2(unm) {
	$.ajax({
		async:true,
		url:"${pageContext.request.contextPath }/OrderSkuController/sorr",
		type:"GET",
		dataType:"json",
		data:{spc:"1",unm:unm
		},
		success:function(data){
			show2(data);
			/*Pages总页数
* Total总条数
* PageNum当前页
* PageSize每页条数
*/
			var page = "<ul class=\"am-pagination am-pagination-right\" id=\"pagelist2\">\n" +
					/*	 "                <li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n" +
                         "                <li class=\"am-active\"><a href=\"javascript:void(0)\">1</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">2</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">3</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">4</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">5</a></li>\n" +
                         "                <li><a href=\"javascript:void(0)\">&raquo;</a></li>\n" +*/
					"             </ul>";
			$("#show109").append(page);

			/*判断是否为首页*/
			if(1 == data.pageNum){
				$("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&laquo;</a></li>\n");
			}else {
				$("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum - 1) + ")\">&laquo;</a></li>\n");
			}

			/*插入页数*/
			for (i = 1; i <= data.pages; i++) {
				if (i == data.pageNo) {
					$("#pagelist2").append(
							"<li class=\"am-active\"><a href=\"javascript:void(0)\">" + i + "</a></li>")
				} else {
					$("#pagelist2").append(
							"<li><a href=\"javascript:void(0)\"  onclick=\"topage2(" + i + ")\">" + i + "</a></li>")
				}
			}

			/*判断是否为尾页*/
			if(data.pageNum == data.pages){
				$("#pagelist2").append("<li class=\"am-disabled\"><a href=\"javascript:void(0)\">&raquo;</a></li>\n");
			}else {
				$("#pagelist2").append("<li><a href=\"javascript:void(0)\" onclick=\"topage2(" + (data.pageNum + 1) + ")\">&raquo;</a></li>\n");
			}
		}
	})
}
</script>
</html>